who is good in Excel IF function ??
Say i got the following cells
Salary, Yr, Result
Salary = $1000
Year = 26
Result = (I need to do a formula which states, IF year >25, take
25*salary, If year<=25, take year*salary)
But i can't get excel to calculate out for me. It just shows me
"A1*25" as the answer instead of the figure
Help!
if syntax: =IF(test condition, value if true, value if false)
The formula should be as below:
=IF(year>25, 25*salary, year*salary)
eg. cell A1=year, cell B1=salary
Placing the formula at cell C1 would be:
=IF(A1>25,25*B1,A1*B1)